﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fcdbas.Core;
namespace Fcdbas.Biz
{
    public class FndLicenses
    {
        private string lic_key = "";
        public string LIC_KEY
        {
            set { lic_key = value; }
            get { return lic_key; }
        }

        private string expiration_date = "";
        public string EXPIRATION_DATE
        {
            set { expiration_date = value; }
            get { return expiration_date; }
        }

        private string client_id = "";
        public string CLIENT_ID
        {
            set { client_id = value; }
            get { return client_id; }
        }

        private string client_name = "";
        public string CLIENT_NAME
        {
            set { client_name = value; }
            get { return client_name; }
        }

        private string licenses = "";
        public string LICENSES
        {
            set { licenses = value; }
            get { return licenses; }
        }


        public string GetAttr()
        {
            StringBuilder sb = new StringBuilder();

            sb.Append("LIC_KEY");
            sb.Append(EntityBase.Field_Separator);
            sb.Append(this.LIC_KEY);
            sb.Append(EntityBase.Record_Separator);

            sb.Append("EXPIRATION_DATE");
            sb.Append(EntityBase.Field_Separator);
            sb.Append(this.EXPIRATION_DATE);
            sb.Append(EntityBase.Record_Separator);

            sb.Append("CLIENT_ID");
            sb.Append(EntityBase.Field_Separator);
            sb.Append(this.CLIENT_ID);
            sb.Append(EntityBase.Record_Separator);

            sb.Append("CLIENT_NAME");
            sb.Append(EntityBase.Field_Separator);
            sb.Append(this.CLIENT_NAME);
            sb.Append(EntityBase.Record_Separator);

            sb.Append("LICENSES");
            sb.Append(EntityBase.Field_Separator);
            sb.Append(this.LICENSES);
            sb.Append(EntityBase.Record_Separator);

            return sb.ToString();
        }
    }
}
